import { Modal } from "@arco-design/web-vue";

const errorModal = (title: string, content: string) => {
  Modal.error({
    title: title,
    content: content,
    bodyStyle: {
      textAlign: "center",
    },
  });
};

export default errorModal;
